const express = require('express')

const router = express.Router()
const notice_handler = require('../router_handler/notice')

router.get('/notice', notice_handler.noticeList)
router.post('/notice/publish', notice_handler.insertNoticeList)
router.delete('/notice/del', notice_handler.deleteByNid)
router.post('/notice/update', notice_handler.updateNotice)

module.exports = router
